<!doctype html>
<html>
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>南宁货运中心</title>
    <style>
        .container {
            width: 1180px !important;
            max-width: none !important;

        }

        #footer {
            /*position:absolute;*/
            width: 100%;
            margin: 0 auto;
            height: 100px;
            /*top: 800px;*/
            /*left:12%;*/
            border-top: 1px solid #cccccc;
            padding-top: 20px;
            font-size: 14px;
            text-align: center;

        }

        .carousel {
            height: 230px;
            background-color: #000000;
        }

        .carousel .item {
            height: 230px;
            background-color: #000000;
        }

        .carousel img {
            width: 100%;
        }

        {#        .panel .panel-heading{#}
        {#            background-color: #7786ff;#}
        {#        }#}

        .panel-body .list-group {
            height: 320px;
        }

        .limitnum {
            width: 320px;
            overflow: hidden;
            position: relative;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        #top {
            position: relative;
            top: -16px;
        }

        #login {
            height: 190px;
        }

        #daynum {
            margin-top: -20px;
            height: 230px;
        }

        #pleft {
            margin-right: -20px;
        }

        #pright {
            margin-left: -20px;
        }

        #pcentent {
            margin-right: -10px;
            margin-left: -10px;
        }

        .panel-body .list-group {
            height: 320px;
            margin-right: -7px;
            margin-left: -7px;

        }

        #table {
            margin-top: -12px;
        }

        .navbar .nav > li .dropdown-menu {
            margin: 0;
        }

        .navbar .nav > li:hover .dropdown-menu {
            display: block;
        }

        .leftcon {
            width: 100%;
            margin-top: 0px;
            position: relative;
            background: #fff;
        }

        .homepanylist {
            width: 2400px;
            margin: auto;
            overflow: hidden;
            height: 260px;
        }

        .homepanylist li {
            float: left;
            width: 300px;
            overflow: hidden;
            padding-top: 10px;
        }

        .homepanylist li a {
            display: block;
            float: left;
            position: relative;
            overflow: hidden;
            width: 300px;
            height: 245px;
            border: #cacaca 1px solid
        }

        .homepanylist li a img {
            width: 100%;
            height: 100%;
        }

        .homepanylist li a i {
            display: block;
            position: absolute;
            left: 0;
            bottom: -30px;
            width: 300px;
            height: 30px;
            background: #474747;
            z-index: 5;
            opacity: 0.5;
            filter: alpha(opacity=50);
            transition: bottom 0.2s;
            -webkit-transition: bottom 0.2s;
            -moz-transition: bottom 0.2s;
            -o-transition: bottom 0.2s;
        }

        .homepanylist li a em {
            display: block;
            position: absolute;
            left: 0;
            bottom: -24px;
            width: 300px;
            height: 30px;
            font-style: normal;
            line-height: 26px;
            color: #fff;
            text-align: center;
            z-index: 6;
            transition: bottom 0.2s;
            -webkit-transition: bottom 0.2s;
            -moz-transition: bottom 0.2s;
            -o-transition: bottom 0.2s;
        }

        .homepanylist li a:hover i, .homepanylist li a:hover em {
            display: block;
            bottom: 0;
            transition: bottom 0.2s;
            -webkit-transition: bottom 0.2s;
            -moz-transition: bottom 0.2s;
            -o-transition: bottom 0.2s;
        }

    </style>


    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/css/sb-admin-2.css" rel="stylesheet">

    <script src="../static/js/html5shiv.min.js"></script>
    <script src="../static/js/respond.min.js"></script>


</head>


<body>

<div class="container">
    <div class="row">
        <div class="row">
            <div class="col-md-8">
                <img src="../static/bgimg/title.png">
            </div>

            <div class="col-md-4">
                <br>
                <form role="form" method="post" action="/search">
                    <div class="input-group">
                        <input type="form-group" name="text" class="form-control" placeholder="站内搜索">
                        <span class="input-group-btn">
                    <button class="btn btn-success" type="submit" formtarget="_blank">搜索</button>
                    </span>
                    </div>
                </form>

            </div>
        </div>

        <div class="row">
            <div class="col-md-12">

                <nav class="navbar navbar-default " role="navigation" style="margin-bottom: 0">
                    <div class="container">
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse"
                                    data-target=".navbar-collapse">
                                <span class="sr-only">导航栏</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                            <a class="navbar-brand" href="/">首页</a>
                        </div>

                        <div class="collapse navbar-collapse">
                            <ul class="nav nav-tabs nav-justified">

                                <li class="dropdown">
                                    <a href="/introduce">
                                        中心简介
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                        中心部室 <i class="fa fa-caret-down"></i>
                                    </a>
                                    <ul class="dropdown-menu dropdown-messages">
                                        <li>
                                            <a href="/ja_index/zh" target="_blank">
                                                综合部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/ja" target="_blank">
                                                技术安全部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/yx" target="_blank">
                                                市场营销部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/dd" target="_blank">
                                                生产调度室
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/zx" target="_blank">
                                                装卸管理部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/zj" target="_blank">
                                                职工教育部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/rl" target="_blank">
                                                人力资源部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/jc" target="_blank">
                                                计划财务部
                                            </a>
                                        </li>
                                        <li class="divider"></li>
                                        <li>
                                            <a href="/ja_index/dq" target="_blank">
                                                党群工作
                                            </a>
                                        </li>
                                    </ul>
                                    <!-- /.dropdown-messages -->
                                </li>


                                <li class="presentation">
                                    <a class="dropdown-toggle" href="/list/1">
                                        通知公告
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a href="/list/4">
                                        规章制度
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a href="http://10.191.190.122/Connware_Login.asp" target="_blank">
                                        电子公文
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a href="http://10.190.5.80:8008/" target="_blank">
                                        党建平台
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a href="http://10.191.190.204:8080/nnhyzx/ReportServer?op=fs_load&cmd=fs_signin&_=1506385412398"
                                       target="_blank">
                                        安全管理系统
                                    </a>
                                </li>
                                <li class="dropdown">
                                    <a href="/links">
                                        常用链接
                                    </a>
                                </li>

                                <li class="dropdown">
                                    <a href="/software">
                                        软件下载
                                    </a>
                                </li>

                            </ul>
                        </div>

                    </div>
                </nav>

            </div>
        </div>


        <div class="row">
            <div class="col-md-12">

                <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                    <!-- Indicators -->
                    <ol class="carousel-indicators">
                        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="3"></li>
                        <li data-target="#carousel-example-generic" data-slide-to="4"></li>
                    </ol>

                    <!-- Wrapper for slides -->
                    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
                        <!-- Indicators -->
                        <ol class="carousel-indicators">
                            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
                            <li data-target="#carousel-example-generic" data-slide-to="3"></li>
                            <li data-target="#carousel-example-generic" data-slide-to="4"></li>
                        </ol>

                        <!-- Wrapper for slides -->

                        <div class="carousel-inner" role="listbox">
                            <div class="item active">
                                <img src="/static/img/{{ picture[0][1] }}" alt="">
                                <div class="carousel-caption">
                                </div>
                            </div>
                            {% for i in range(1,picture.__len__()) %}
                                <div class="item">
                                    <img src="/static/img/{{ picture[i][1] }}" alt="">
                                </div>
                            {% endfor %}


                        </div>

                        <!-- Controls -->
                        <a class="left carousel-control" href="#carousel-example-generic" role="button"
                           data-slide="prev">
                            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                            <span class="sr-only">Previous</span>
                        </a>
                        <a class="right carousel-control" href="#carousel-example-generic" role="button"
                           data-slide="next">
                            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                            <span class="sr-only">Next</span>
                        </a>
                    </div>

                </div>

            </div>

        </div>
        <div class="row">

            <div class="col-md-8">
                <div class="panel panel-info" style="margin-right: -10px">
                    <div class="panel-heading">
                        <span>运输指标数据表</span>
                    </div>


                    <div class="panel-body">

                        <ul class="list-group">
                            <ul id="myTab" class="nav nav-tabs" role="tablist">
                                <li class="active"><a href="#" role="tab" onclick="change()">运输收入</a></li>
                                <li><a href="#" role="tab" onclick="change2()">发送吨</a></li>
                                <li><a href="#" role="tab" onclick="change3()">装车</a></li>
                                <li><a href="#" role="tab" onclick="change4()">夜卸率</a></li>
                                <li><a href="#" role="tab" onclick="change5()">停时</a></li>
                            </ul>
                            <!-- 选项卡面板 -->
                            <div id="myTabContent" class="tab-content">
                                <div class="tab-pane fade in active" id="bulletin">
                                    <div id="charts" style="height:330px;"></div>
                                    <div id="charts2" style="height:330px;" style="display: none"></div>
                                    <div id="charts3" style="height:330px;" style="display: none"></div>
                                    <div id="charts4" style="height:330px;" style="display: none"></div>
                                    <div id="charts5" style="height:330px;" style="display: none"></div>
                                </div>

                                <div class="tab-pane fade" id="rule">
                                    <div id="charts2" style="height:330px;"></div>
                                </div>

                                <div class="tab-pane fade" id="rule">
                                    <div id="charts3" style="height:330px;"></div>
                                </div>

                                <div class="tab-pane fade" id="rule">
                                    <div id="charts4" style="height:330px;"></div>
                                </div>

                                <div class="tab-pane fade" id="rule">
                                    <div id="charts5" style="height:330px;"></div>
                                </div>

                            </div>

                        </ul>


                    </div>

                </div>


            </div>
            <div class="col-md-4">
                <div class="panel panel-info" id="login" style="margin-left: -20px">
                    {% if state == 'f' %}
                        <div class="panel-heading">
                            <h3 class="panel-title">登陆后台</h3>
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <form role="form" method="post" action="/" class="form-horizontal">
                                    <div class="form-group">
                                        <label class="col-md-3 control-label">帐号：</label>
                                        <div class="col-md-8">
                                            <input class="form-control" placeholder="帐号" name="username" type="text"
                                                   autofocus>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-md-3 control-label">密码：</label>
                                        <div class="col-md-8">
                                            <input class="form-control" placeholder="密码" name="password" type="password"
                                                   value="">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-md-offset-3 col-md-3">
                                            <button type="submit" class="btn btn-sm btn-success btn-block">登录</button>
                                        </div>
                                    </div>
                                    <br>

                                </form>
                            </div>
                        </div>
                    {% elif state == 't' %}
                        {% if level == '5' or level == '6' %}
                            <div class="panel-heading">
                                <h3 class="panel-title">您好{{ nickname }}，您的待办事项有</h3>
                            </div>
                            <div class="panel-body">
{#                                <h4 class="text-center">您好{{ nickname }}，您的待办事项有</h4>#}

                                <div class="text-center">

                                    <table class="table" border="0" >
                                        <tr>
                                            <td><a href="/mark_partlist/n" target="_blank">未批阅公文</a></td>
                                            <td><a href="/unread" target="_blank">未读邮件</a></td>
                                            <td><a href="/sign_list/{{ uname }}" target="_blank">未签收网站信息</a></td>
                                        </tr>
                                        <tr>
                                            <td><a href="/mark_partlist/n" target="_blank"><span style="color: red"><b> {{ handlenum }}条</b></span></a></td>
                                            <td><a href="/unread" target="_blank"><span style="color: red"><b> {{ unreadmail }}条</b></span></a></td>
                                            <td><a href="/sign_list/{{ uname }}" target="_blank"><span style="color: red"><b> {{ slen }}条</b></span></a></td>
                                        </tr>

                                    </table>
                                    <hr style="margin-top: -20px">
                                    <a href="/logout" class="btn btn-sm btn-danger"
                                       role="button">退出登陆</a>
                                </div>
                            </div>

                        {% else %}
                            <div class="panel-heading">
                                <h3 class="panel-title">您好{{ nickname }}，您的待办事项有</h3>
                            </div>
                            <div class="panel-body">
{#                                <h4 class="text-center">您好{{ nickname }}，您的待办事项有</h4>#}
                                <div class="text-center">
                                    {% if user_type == 'admin' or user_type == 'general' %}
                                        <a href="/background" target="_blank" class="btn btn-info"
                                           role="button">进入后台</a>
                                        <a href="/mark_input" target="_blank" class="btn btn-success"
                                           role="button">公文系统</a>
                                        <a href="/logout" class="btn btn-danger"
                                       role="button">退出登陆</a>
                                    {% elif level == '8' %}
                                        <h4>您<a href="/mark_list/n"><span style="color: red"><b> {{ handlenum }}条</b></span></a>公文待批阅，<a href="/mark_list/n"
                                                                                           target="_blank">公文列表</a></h4>
                                        <h4>您<a href="/unread"><span style="color: red"><b> {{ unreadmail }}封</b></span></a>未读邮件，<a href="/mark_list/n"
                                                                                           target="_blank">进入邮箱</a></h4>
                                        <a href="/logout" class="btn btn-sm btn-danger"
                                       role="button">退出登陆</a>

                                    {% else %}

                                        <table class="table" border="0" >
                                        <tr>
                                            <td><a href="/mark_partlist/n" target="_blank">未批阅公文</a></td>
                                            <td><a href="/unread" target="_blank">未读邮件</a></td>
                                            <td><a href="/sign_list/{{ uname }}" target="_blank">未签收网站信息</a></td>
                                        </tr>
                                        <tr>
                                            <td><a href="/mark_partlist/n" target="_blank"><span style="color: red"><b> {{ handlenum }}条</b></span></a></td>
                                            <td><a href="/unread" target="_blank"><span style="color: red"><b> {{ unreadmail }}条</b></span></a></td>
                                            <td><a href="/sign_list/{{ uname }}" target="_blank"><span style="color: red"><b> {{ slen }}条</b></span></a></td>
                                        </tr>

                                    </table>
                                        <hr  style="margin-top: -20px">
                                        <a href="/part_output/{{ user_type }}" target="_blank" class="btn btn-sm btn-info"
                                           role="button">进入后台</a>
                                        <a href="/logout" class="btn btn-sm btn-danger"
                                       role="button">退出登陆</a>
                                    {% endif %}

                                </div>
                            </div>
                        {% endif %}
                    {% endif %}
                </div>

                <div class="panel panel-info" id="daynum" style="margin-left: -20px">
                    <div class="panel-heading">
                        <h3 class="panel-title"><b>截至{{ yesrtoday[0:10] }} 18:00，中心已安全生产<span
                                style="color: red">{{ safedays }}</span>天</b></h3>
                    </div>
                    <div class="panel-body" style="margin-top: -20px">
                        <div class="table-responsive">
                            <table class="table table-hover" id="table">
                                <thead>
                                <tr>
                                    <th></th>
                                    <th><br>年度<br>任务</th>
                                    <th><br>实际<br>完成</th>
                                    <th><br>完成<br>进度</th>
                                    <th><br>超欠<br>进度</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>运输收入<br>(万元)</td>
                                    <td>{{ plan1 }}</td>
                                    <td>{{ cp1 }}</td>
                                    <td>{{ jd1 }}%</td>
                                    {% if cqjd1 >= 0 %}
                                        <td>{{ cqjd1 }}%</td>
                                    {% else %}
                                        <td style="color: red"><b>{{ cqjd1 }}%</b></td>
                                    {% endif %}
                                </tr>
                                <tr>
                                    <td>发送吨<br>(吨)</td>
                                    <td>{{ plan2 }}</td>
                                    <td>{{ cp2 }}</td>
                                    <td>{{ jd2 }}%</td>
                                    {% if cqjd2 >= 0 %}
                                        <td>{{ cqjd2 }}%</td>
                                    {% else %}
                                        <td style="color: red"><b>{{ cqjd2 }}%</b></td>
                                    {% endif %}
                                </tr>


                                </tbody>
                            </table>
                        </div>

                    </div>

                </div>

            </div>
        </div>


        <div class="row">
            <div class="col-md-4">
                <div class="panel panel-info" id="pleft">
                    <div class="panel-heading">
                        <span>最新动态</span>
                        <div class="pull-right">
                            <div class="btn-group">

                                <a href="/list/new" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>
                    <div class="panel-body" style="height: 370px">


                        <div id="demo" style="height:320px;overflow:hidden;">
                            <div id="indemo" style="height:400%;">
                                <ul class="list-group">
                                    <div id="demo1">

                                        {% for i in new %}
                                            <li class="list-group-item">
                                                <div class="limitnum">
                                                    <a href="/ja_display/{{ i[0] }}" target="_blank"
                                                       title="{{ i[1] }}">{{ i[1] }} </a>
                                                </div>
                                                <span class="pull-right text-muted small" id="top">
                                                    {% if i[13] == 't' %}
                                                        &nbsp;<span class="label label-danger btn-xs">new</span>
                                                    {% else %}
                                                        {{ i[4][5:10] }}
                                                    {% endif %}
                                                        </span>

                                            </li>
                                        {% endfor %}

                                    </div>
                                    <div id="demo2" style="height: 320px"></div>
                                </ul>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
            <div class="col-md-4">
                <div class="panel panel-info" id="pcentent">
                    <div class="panel-heading">
                        <span>通知公告</span>
                        <div class="pull-right">
                            <div class="btn-group">

                                <a href="/list/1" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="panel-body">

                        <ul class="list-group">
                            {% for i in tzgg_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span>

                                </li>
                            {% endfor %}

                        </ul>


                    </div>

                </div>

            </div>
            <div class="col-md-4">
                <div class="panel panel-info" id="pright">
                    <div class="panel-heading">
                        <span>图片新闻</span>
                        <div class="pull-right">
                            <div class="btn-group">

                                <a href="/list/tpxw" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="panel-body">

                        <ul class="list-group">
                            <div id="carousel-example-generic2" class="carousel slide" data-ride="carousel"
                                 style="height: 340px">
                                <!-- Indicators -->
                                <ol class="carousel-indicators">
                                    <li data-target="#carousel-example-generic2" data-slide-to="0" class="active"></li>
                                    <li data-target="#carousel-example-generic2" data-slide-to="1"></li>
                                    <li data-target="#carousel-example-generic2" data-slide-to="2"></li>
                                    <li data-target="#carousel-example-generic2" data-slide-to="3"></li>
                                    <li data-target="#carousel-example-generic2" data-slide-to="4"></li>
                                </ol>

                                <!-- Wrapper for slides -->
                                <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"
                                     style="height: 340px">
                                    <!-- Indicators -->
                                    <ol class="carousel-indicators">
                                        <li data-target="#carousel-example-generic2" data-slide-to="0"
                                            class="active"></li>
                                        <li data-target="#carousel-example-generic2" data-slide-to="1"></li>
                                        <li data-target="#carousel-example-generic2" data-slide-to="2"></li>
                                        <li data-target="#carousel-example-generic2" data-slide-to="3"></li>
                                        <li data-target="#carousel-example-generic2" data-slide-to="4"></li>
                                    </ol>

                                    <!-- Wrapper for slides -->

                                    <div class="carousel-inner" role="listbox" style="height: 340px">
                                        <div class="item active" style="height: 340px">
                                            <a href="/ja_display/{{ tpxw_list[0][0] }}" target="_blank">
                                                <img src="/static/uploads/{{ path[0] }}" alt=""
                                                     style="height: 100%"></a>
                                            <div class="carousel-caption">
                                            </div>
                                        </div>
                                        {% for i in range(1,tpxw_list.__len__()) %}
                                            <div class="item" style="height: 340px">
                                                <a href="/ja_display/{{ tpxw_list[i][0] }}" target="_blank">
                                                    <img src="/static/uploads/{{ path[i] }}" alt=""
                                                         style="height: 100%">
                                                </a>

                                            </div>
                                        {% endfor %}


                                    </div>

                                    <!-- Controls -->
                                    <a class="left carousel-control" href="#carousel-example-generic2" role="button"
                                       data-slide="prev">
                                        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                                        <span class="sr-only">Previous</span>
                                    </a>
                                    <a class="right carousel-control" href="#carousel-example-generic2" role="button"
                                       data-slide="next">
                                        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                        <span class="sr-only">Next</span>
                                    </a>
                                </div>

                            </div>

                        </ul>


                    </div>

                </div>

            </div>
        </div>

        <div>
            <img src="/static/bgimg/hengfu1.jpg" style="width:1180px; margin-top: -20px">
        </div>

        <div class="row">
            <div class="col-md-4">

                <div class="panel panel-info" id="pleft">
                    <div class="panel-heading">
                        <span>综合部</span>
                        <div class="pull-right">
                            <div class="btn-group">

                                <a href="/ja_index/zh" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="panel-body">

                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {##}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ zh_list[i][1] }}">{{ zh_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ zh_list[i][4] }}</span></li>#}
                        {##}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                        <ul class="list-group">
                            {% for i in zh_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                    </div>

                </div>

            </div>
            <div class="col-md-4">

                <div class="panel panel-info" id="pcentent">
                    <div class="panel-heading">
                        <span>技术安全部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/ja" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in ja_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ ja_list[i][1] }}">{{ ja_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ ja_list[i][4] }}</span></li>#}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                    </div>

                </div>

            </div>
            <div class="col-md-4">

                <div class="panel panel-info" id="pright">
                    <div class="panel-heading">
                        <span>市场营销部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/yx" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in yx_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                    </div>

                </div>

            </div>

        </div>

        <div>
            <img src="/static/bgimg/hengfu2.jpg" style="width:1180px; margin-top: -20px">
        </div>

        <div class="row">
            <div class="col-md-4">

                <div class="panel panel-info" id="pleft">
                    <div class="panel-heading">
                        <span>生产调度室</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/dd" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in dd_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ dd_list[i][1] }}">{{ dd_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ dd_list[i][4] }}</span></li>#}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                    </div>

                </div>

            </div>
            <div class="col-md-4">

                <div class="panel panel-info" id="pcentent">
                    <div class="panel-heading">
                        <span>装卸管理部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/zx" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in zx_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ zx_list[i][1] }}">{{ zx_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ zx_list[i][4] }}</span></li>#}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                    </div>

                </div>

            </div>
            <div class="col-md-4">

                <div class="panel panel-info" id="pright">
                    <div class="panel-heading">
                        <span>职工教育部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/zj" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in zj_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ zj_list[i][1] }}">{{ zj_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ zj_list[i][4] }}</span></li>#}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                    </div>

                </div>

            </div>

        </div>

        <div class="row">
            <div class="col-md-4">

                <div class="panel panel-info" id="pleft">
                    <div class="panel-heading">
                        <span>人力资源部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">
                                    <a href="/ja_index/rl" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">

                        {#                    <ul class="list-group">#}
                        {#                        {% for i in range(0,7) %}#}
                        {#                            <li class="list-group-item"><a#}
                        {#                                    href="/ja_display/{{ rl_list[i][1] }}">{{ rl_list[i][1] }} </a><span#}
                        {#                                    class="pull-right text-muted small">{{ rl_list[i][4] }}</span></li>#}
                        {#                        {% endfor %}#}
                        {#                    </ul>#}
                        <ul class="list-group">
                            {% for i in rl_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                    </div>

                </div>

            </div>
            <div class="col-md-4">

                <div class="panel panel-info" id="pcentent">
                    <div class="panel-heading">
                        <span>计划财务部</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <div class="btn-group">

                                    <a href="/ja_index/jc" target="_blank" class="btn btn-default btn-sm "
                                       role="button">more</a>
                                </div>

                            </div>
                        </div>
                    </div>

                    <div class="panel-body">

                        <ul class="list-group">
                            {% for i in jc_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span></li>
                            {% endfor %}
                        </ul>
                    </div>

                </div>

            </div>
            <div class="col-md-4">
                <div class="panel panel-info" id="pright">
                    <div class="panel-heading">
                        <span>党群工作</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <a href="/ja_index/dq" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="panel-body">
                        <ul class="list-group">
                            {% for i in dq_list %}
                                <li class="list-group-item">
                                    <div class="limitnum">
                                        <a href="/ja_display/{{ i[0] }}" target="_blank"
                                           title="{{ i[1] }}">{{ i[1] }} </a>
                                    </div>
                                    <span class="pull-right text-muted small" id="top">
                                        {% if i[8] == 't' %}
                                            &nbsp;<span class="badge" style="background-color: #23accc">top</span>
                                        {% elif i[13] == 't' %}
                                            &nbsp;<span class="label label-danger btn-xs">new</span>
                                        {% else %}
                                            {{ i[4][5:10] }}
                                        {% endif %}
                                </span>

                                </li>
                            {% endfor %}

                        </ul>


                    </div>

                </div>

            </div>


        </div>

        <div class="row">
            <div class="col-md-12">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        <span>基层动态</span>
                        <div class="pull-right">
                            <div class="btn-group">
                                <a href="/list/jcwt" target="_blank" class="btn btn-default btn-sm "
                                   role="button">more</a>
                            </div>
                        </div>
                    </div>

                    <div class="panel-body" style="height: 300px">

                        {#                        {% for i in range(0,jcwt_list.__len__()) %}#}
                        {#                            <div class="col-md-3">#}
                        {#                                <ul class="list-group" style="border-style: solid double groove;height: 260px">#}
                        {#                                    <a href="/ja_display/{{ jcwt_list[i][0] }}" target="_blank">#}
                        {#                                        <img src="/static/uploads/{{ path2[i] }}" alt=""#}
                        {#                                             style="height: 100%;width: 100%">#}
                        {#                                                                <div class="text-center"#}
                        {#                                                                     style="color: #040102;background-color: rgba(251,251,255,0.99)">{{ jcwt_list[i][1] }}</div>#}
                        {#                                    </a>#}
                        {#                                </ul>#}
                        {#                            </div>#}
                        {#                        {% endfor %}#}

                        <div id="list" class=" picutre_many"
                             style="overflow: hidden; height: 250px; width: 1130px; margin: 0 auto;">
                            <table cellspacing="0" cellpadding="0" style="width: 2400px; border: 0px;">
                                <tr>
                                    <td id="list1">
                                        <table style="border: 0px;" cellpadding="0" cellspacing="0">
                                            <tr id="pic">
                                                <div class="leftcon">
                                                    <ul class="homepanylist">
                                                        {% for i in range(0,jcwt_list.__len__()) %}
                                                            <li><a href="/ja_display/{{ jcwt_list[i][0] }}"
                                                                   target="_blank"><img
                                                                    src="/static/uploads/{{ path2[i] }}"/>
                                                                <i></i><em>{{ jcwt_list[i][1] }}</em></a></li>
                                                        {% endfor %}
                                                    </ul>
                                                </div>
                                                {% for i in range(0,jcwt_list.__len__()) %}
                                                    <td><a href="/ja_display/{{ jcwt_list[i][0] }}" target="_blank">
                                                        <img style="border: 0px;width:300px; height:270px;"
                                                             title="{{ jcwt_list[i][1] }}"
                                                             src="/static/uploads/{{ path2[i] }}"/></a>
                                                    </td>

                                                {% endfor %}
                                            </tr>
                                        </table>

                                    </td>
                                    <td id="list2"></td>
                                </tr>
                            </table>
                        </div>


                        {#                        <marquee scrollamount=10 scrolldelay=10 valign=middle behavior="scroll">#}
                        {#                            <img src="/static/bgimg/test1.jpg">#}
                        {#                            <img  src="/static/bgimg/test2.jpg">#}
                        {#                        </marquee>#}
                    </div>

                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                <h4><b>站内链接：</b>
                    <a href="/ja_index/nnnyys" target="_blank">南宁南营业所</a>
                    <a href="/ja_index/ggyys" target="_blank">贵港营业所</a>
                    <a href="/ja_index/lbyys" target="_blank">来宾营业所</a>
                    <a href="/ja_index/czyys" target="_blank">崇左营业所</a>
                    <a href="/ja_index/kys" target="_blank">快运所</a>
                    <a href="/ja_index/nnnzgs" target="_blank">南宁南装管所</a>
                    <a href="/ja_index/ggzgs" target="_blank">贵港装管所</a>
                    <a href="/ja_index/ltzgs" target="_blank">黎塘装管所</a>
                    <a href="/ja_index/czzgs" target="_blank">崇左装管所</a>
                </h4>
            </div>
        </div>
    </div>

    <div class="row">

        <div class="col-md-12">
            <div id="footer"> 中国铁路南宁局集团有限公司 南宁货运中心</div>
        </div>
    </div>
</div>
</div>
</body>
<script type="text/javascript" src="../static/js/echarts.min.js"></script>
<!--[if lt IE 9]>
    <script type="text/javascript" src="../static/js/echarts.js"></script>
    <![endif]-->
<script type="text/javascript" src="../static/js/jquery-1.9.1.min.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script src="../static/js/metisMenu.min.js"></script>

<script type="text/javascript">
    $('.carousel').carousel({
        interval: 3000
    })
    $(function () {
        $("#myTab a").click(function (e) {
            e.preventDefault();
            $(this).tab("show");
        });
    });


    var myChart = echarts.init(document.getElementById('charts'));
    option = {

        title: {
            text: '',
            subtext: ''

        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['当日完成', '当日计划']
        },
        toolbox: {
            show: 'true',
            feature: {
                magicType: {type: ['line', 'bar']},
                restore: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: 'false',
            {#                data: ['{{ charts[6][1] }}', '{{ charts[5][1] }}', '{{ charts[4][1] }}', '{{ charts[3][1] }}',#}
            {#                    '{{ charts[2][1] }}', '{{ charts[1][1] }}', '{{ charts[0][1] }}']#}
            data: [
                {% if charts.__len__() <= 0 %}
                    '01-01'
                {% else %}
                    {% for i in range(charts.__len__() - 1,0,-1) %}
                        '{{ charts[i][1][5:10] }}',
                    {% endfor %}
                    '{{ charts[0][1][5:10] }}'
                {% endif %}
            ]

        },
        yAxis: {
            type: 'value',
            axisLabel: {
                formatter: '{value} 万元'
            }
        },
        series: [
            {
                name: '当日完成',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts.__len__() - 1,0,-1) %}
                            {{ charts[i][2] }},
                        {% endfor %}
                        {{ charts[0][2] }}
                    {% endif %}
                ],
                markPoint: {
                    data: [
                        {type: 'max', name: '最大值'},
                        {type: 'min', name: '最小值'}
                    ]
                }

            },
            {
                name: '当日计划',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts.__len__() - 1,0,-1) %}
                            {{ charts[i][3] }},
                        {% endfor %}
                        {{ charts[0][3] }}
                    {% endif %}
                ]
            }
        ]
    };
    myChart.setOption(option);

    var myChart2 = echarts.init(document.getElementById('charts2'));
    option2 = {

        title: {
            text: '',
            subtext: ''

        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {

            data: ['当日完成', '当日计划']
        },
        toolbox: {
            show: 'true',
            feature: {
                magicType: {type: ['line', 'bar']},
                restore: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: 'false',
            data: [
                {% if charts.__len__() <= 0 %}
                    '01-01'
                {% else %}
                    {% for i in range(charts2.__len__() - 1,0,-1) %}
                        '{{ charts2[i][1][5:10] }}',
                    {% endfor %}
                    '{{ charts2[0][1][5:10] }}'
                {% endif %}
            ]
        },

        yAxis: {
            type: 'value',
            axisLabel: {
                formatter: '{value} 吨'
            }
        },
        series: [
            {
                name: '当日完成',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts2.__len__() - 1,0,-1) %}
                            {{ charts2[i][2] }},
                        {% endfor %}
                        {{ charts2[0][2] }}
                    {% endif %}
                ],

                markPoint: {
                    data: [
                        {type: 'max', name: '最大值'},
                        {type: 'min', name: '最小值'}
                    ]
                }

            },
            {
                name: '当日计划',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts2.__len__() - 1,0,-1) %}
                            {{ charts2[i][3] }},
                        {% endfor %}
                        {{ charts2[0][3] }}
                    {% endif %}
                ]
            }
        ]
    };
    myChart2.setOption(option2);

    var myChart3 = echarts.init(document.getElementById('charts3'));
    option3 = {

        title: {
            text: '',
            subtext: ''

        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['当日完成', '当日计划']
        },
        toolbox: {
            show: 'true',
            feature: {
                magicType: {type: ['line', 'bar']},
                restore: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: 'false',
            data: [
                {% if charts.__len__() <= 0 %}
                    '01-01'
                {% else %}
                    {% for i in range(charts3.__len__() - 1,0,-1) %}
                        '{{ charts3[i][1][5:10] }}',
                    {% endfor %}
                    '{{ charts3[0][1][5:10] }}'
                {% endif %}
            ],
            {#                                data: ['{{ charts3[6][1] }}', '{{ charts3[5][1] }}', '{{ charts3[4][1] }}', '{{ charts3[3][1] }}',#}
            {#                                    '{{ charts3[2][1] }}', '{{ charts3[1][1] }}', '{{ charts3[0][1] }}']#}
        },
        yAxis: {
            type: 'value',
            axisLabel: {
                formatter: '{value} 车'
            }
        },
        series: [
            {
                name: '当日完成',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts3.__len__() - 1,0,-1) %}
                            {{ charts3[i][2] }},
                        {% endfor %}
                        {{ charts3[0][2] }}
                    {% endif %}
                ],
                {#                                        data: [{{ charts3[6][2] }}, {{ charts3[5][2] }}, {{ charts3[4][2] }}, {{ charts3[3][2] }}, {{ charts3[2][2] }},#}
                {#                                            {{ charts3[1][2] }}, {{ charts3[0][2] }}],#}
                markPoint: {
                    data: [
                        {type: 'max', name: '最大值'},
                        {type: 'min', name: '最小值'}
                    ]
                }

            },
            {
                name: '当日计划',
                type: 'line',
                data: [
                    {% if charts.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts3.__len__() - 1,0,-1) %}
                            {{ charts3[i][3] }},
                        {% endfor %}
                        {{ charts3[0][3] }}
                    {% endif %}
                ],
                {#                                        data: [{{ charts3[6][3] }}, {{ charts3[5][3] }}, {{ charts3[4][3] }}, {{ charts3[3][3] }}, {{ charts3[2][3] }},#}
                {#                                            {{ charts3[1][3] }}, {{ charts3[0][3] }}]#}
            }
        ]
    };
    myChart3.setOption(option3);

    var myChart4 = echarts.init(document.getElementById('charts4'));
    option4 = {

        title: {
            text: '',
            subtext: ''

        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['当日卸率']
        },
        toolbox: {
            show: 'true',
            feature: {
                magicType: {type: ['line', 'bar']},
                restore: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: 'false',
            data: [
                {% if charts4.__len__() <= 0 %}
                    '01-01'
                {% else %}
                    {% for i in range(charts4.__len__() - 1,0,-1) %}
                        '{{ charts4[i][1][5:10] }}',
                    {% endfor %}
                    '{{ charts4[0][1][5:10] }}'
                {% endif %}
            ],
            {#                                data: ['{{ charts3[6][1] }}', '{{ charts3[5][1] }}', '{{ charts3[4][1] }}', '{{ charts3[3][1] }}',#}
            {#                                    '{{ charts3[2][1] }}', '{{ charts3[1][1] }}', '{{ charts3[0][1] }}']#}
        },
        yAxis: {
            type: 'value',
            axisLabel: {
                formatter: '{value} %'
            }
        },
        series: [
            {
                name: '当日卸率',
                type: 'line',
                data: [
                    {% if charts4.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts4.__len__() - 1,0,-1) %}
                            {{ charts4[i][2] }},
                        {% endfor %}
                        {{ charts4[0][2] }}
                    {% endif %}
                ],
                {#                                        data: [{{ charts3[6][2] }}, {{ charts3[5][2] }}, {{ charts3[4][2] }}, {{ charts3[3][2] }}, {{ charts3[2][2] }},#}
                {#                                            {{ charts3[1][2] }}, {{ charts3[0][2] }}],#}
                markPoint: {
                    data: [
                        {type: 'max', name: '最大值'},
                        {type: 'min', name: '最小值'}
                    ]
                }

            },
            {#                {#}
            {#                    name: '当日计划',#}
            {#                    type: 'line',#}
            {#                    data: [#}
            {#                        {% if charts.__len__() <= 0 %}#}
            {#                        0#}
            {#                        {% else %}#}
            {#                        {% for i in range(charts3.__len__() - 1,0,-1) %}#}
            {#                            {{ charts3[i][3] }},#}
            {#                        {% endfor %}#}
            {#                        {{ charts3[0][3] }}#}
            {#                        {% endif %}#}
            {#                    ],#}
            {#                }#}
        ]
    };
    myChart4.setOption(option4);

    var myChart5 = echarts.init(document.getElementById('charts5'));
    option5 = {

        title: {
            text: '',
            subtext: ''

        },
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['当日停时']
        },
        toolbox: {
            show: 'true',
            feature: {
                magicType: {type: ['line', 'bar']},
                restore: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: 'false',
            data: [
                {% if charts5.__len__() <= 0 %}
                    '01-01'
                {% else %}
                    {% for i in range(charts5.__len__() - 1,0,-1) %}
                        '{{ charts5[i][1][5:10] }}',
                    {% endfor %}
                    '{{ charts5[0][1][5:10] }}'
                {% endif %}
            ],
            {#                                data: ['{{ charts3[6][1] }}', '{{ charts3[5][1] }}', '{{ charts3[4][1] }}', '{{ charts3[3][1] }}',#}
            {#                                    '{{ charts3[2][1] }}', '{{ charts3[1][1] }}', '{{ charts3[0][1] }}']#}
        },
        yAxis: {
            type: 'value',
            axisLabel: {
                formatter: '{value} 时'
            }
        },
        series: [
            {
                name: '当日停时',
                type: 'line',
                data: [
                    {% if charts5.__len__() <= 0 %}
                        0
                    {% else %}
                        {% for i in range(charts5.__len__() - 1,0,-1) %}
                            {{ charts5[i][2] }},
                        {% endfor %}
                        {{ charts5[0][2] }}
                    {% endif %}
                ],
                {#                                        data: [{{ charts3[6][2] }}, {{ charts3[5][2] }}, {{ charts3[4][2] }}, {{ charts3[3][2] }}, {{ charts3[2][2] }},#}
                {#                                            {{ charts3[1][2] }}, {{ charts3[0][2] }}],#}
                markPoint: {
                    data: [
                        {type: 'max', name: '最大值'},
                        {type: 'min', name: '最小值'}
                    ]
                }

            },
            {#                {#}
            {#                    name: '当日计划',#}
            {#                    type: 'line',#}
            {#                    data: [#}
            {#                        {% if charts.__len__() <= 0 %}#}
            {#                        0#}
            {#                        {% else %}#}
            {#                        {% for i in range(charts3.__len__() - 1,0,-1) %}#}
            {#                            {{ charts3[i][3] }},#}
            {#                        {% endfor %}#}
            {#                        {{ charts3[0][3] }}#}
            {#                        {% endif %}#}
            {#                    ],#}
            {#                }#}
        ]
    };
    myChart5.setOption(option5);

    $('#charts2').hide();
    $('#charts3').hide();
    $('#charts4').hide();
    $('#charts5').hide();

    function change() {
        $('#charts2').hide(500);
        $('#charts').show(1000);
        $('#charts3').hide(500);
        $('#charts4').hide(500);
        $('#charts5').hide(500);
    }

    function change2() {
        $('#charts').hide(500);
        $('#charts2').show(1000);
        $('#charts3').hide(500);
        $('#charts4').hide(500);
        $('#charts5').hide(500);
    }

    function change3() {
        $('#charts').hide(500);
        $('#charts3').show(1000);
        $('#charts2').hide(500);
        $('#charts4').hide(500);
        $('#charts5').hide(500);
    }

    function change4() {
        $('#charts').hide(500);
        $('#charts4').show(1000);
        $('#charts2').hide(500);
        $('#charts3').hide(500);
        $('#charts5').hide(500);
    }

    function change5() {
        $('#charts').hide(500);
        $('#charts5').show(1000);
        $('#charts2').hide(500);
        $('#charts4').hide(500);
        $('#charts3').hide(500);
    }

</script>


<script type="text/javascript">
    speed = 25;        //数字越大滚得越慢
    var tab = document.getElementById("demo");
    var tab1 = document.getElementById("demo1");
    var tab2 = document.getElementById("demo2");
    tab2.innerHTML = tab1.innerHTML;
    tab.scrollTop = tab1.offsetHeight;

    function Marquee() {
        if (tab.scrollTop >= tab1.offsetHeight) {
            tab.scrollTop -= tab2.offsetHeight;
        } else {
            tab.scrollTop += 1;
        }
    }

    var MyMar = setInterval(Marquee, speed);
    tab.onmouseover = function () {
        clearInterval(MyMar);
    }
    tab.onmouseout = function () {
        MyMar = setInterval(Marquee, speed);
    }


    speedpic = 20;        //数字越大滚得越慢
    var t = document.getElementById("list");
    var t1 = document.getElementById("list1");
    var t2 = document.getElementById("list2");
    t2.innerHTML = t1.innerHTML;

    function Marquee2() {
        if (t2.offsetWidth - t.scrollLeft <= 0) {
            t.scrollLeft -= t1.offsetWidth;
        } else {
            t.scrollLeft += 5;
        }
    }

    var MyMarpic = setInterval(Marquee2, speedpic);
    t.onmouseover = function () {
        clearInterval(MyMarpic);
    }
    t.onmouseout = function () {
        MyMarpic = setInterval(Marquee2, speedpic);
    }
</script>

{#<script type="text/javascript">#}
{#            window.onload=function(){#}
{#            function float(){#}
{#                //写入#}
{#                var oneInner = document.getElementById('float')#}
{#                var oneButton = document.getElementById('close')#}
{#                var oneButton = document.createElement("input");#}
{#                oneButton.setAttribute("type","button");#}
{#                oneButton.setAttribute("value","x");#}
{#                if (oneButton.style.cssFloat)#}
{#                {#}
{#                    oneButton.style.cssFloat="right"#}
{#                }#}
{#                else#}
{#                {oneButton.style.styleFloat="right"}#}
{#                oneInner.appendChild(oneButton);#}
{#                document.body.appendChild(oneInner);#}
{##}
{#                //定时器#}
{#                var a1a = setInterval(moves,100);#}
{#                //函数#}
{#                var x = 10;#}
{#                var y = 10;#}
{##}
{#                function moves(){#}
{#                    var tops = oneInner.offsetTop#}
{#                    var lefts = oneInner.offsetLeft#}
{##}
{#                    if (lefts>=500||lefts<=0)#}
{#                    {#}
{#                        x=-x#}
{#                    }#}
{##}
{#                    if (tops>=500||tops<=0)#}
{#                    {#}
{#                        y=-y#}
{#                    }#}
{##}
{#                    tops+=y;#}
{#                    lefts+=x;#}
{##}
{#                    oneInner.style.top=tops+"px"#}
{#                    oneInner.style.left=lefts+"px"#}
{#                }#}
{##}
{#                //悬停停止#}
{#                oneInner.onmouseover=function(){#}
{#                    clearInterval(a1a);#}
{#                }#}
{#                //放手继续运动#}
{#                oneInner.onmouseout=function(){#}
{#                    a1a =setInterval(moves,100);#}
{#                }#}
{#                //删除#}
{#                oneButton.onclick=function(){#}
{#                    document.body.removeChild(oneInner);#}
{#                }#}
{#            }#}
{#        </script>#}


</html>